<%--
  Created by IntelliJ IDEA.
  User: luo
  Date: 2025/5/26
  Time: 13:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="common/header.jsp">
  <jsp:param name="title" value="修改健康信息的结果"/>
</jsp:include>
<%-- 根据用户类型动态引入菜单 --%>
<c:choose>
  <c:when test="${user.isAdmin}">
    <%@ include file="common/adminMenu.jsp" %>
  </c:when>
  <c:otherwise>
    <%@ include file="common/userMenu.jsp" %>
  </c:otherwise>
</c:choose>

<div class="container">
  <div class="message">
    ${message}
  </div>
</div>

<%@ include file="common/footer.jsp" %>
